<extend name="Common/common"/>
<block name="main">
    <div class="right-title">添加新病情</div>
    <div class="right-content">
        <form id="submitForm">
        <div class="addill">
            <p class="addill-title"><img src="">门诊信息</p>
            <div class="addill-fp">
                <span>
                    <span>姓名：</span>
                    <span class="add-left">{$patient}</span>
                </span>
                <span class="addill-fp-time">
                    <span>就诊时间：</span>
                    <span  class="add-left">
                        <input type="text" name="treat_time" value="请选择时间" required onclick="laydate({istime: true, format: 'YYYY-MM-DD'})">
                    </span>
                </span>
                <span>
                    <span class="addill-fp-time">就诊诊所：</span>
                    <span class="add-left">
                        <input type="text" readonly value="{$userinfo.clinic_name}" class="blue">
                    </span>
                </span>
            </div>
            <table class="addtable">
                <tr>
                    <td><span>病情症状：</span><textarea name="symptom" required placeholder="输入病情信息"></textarea></td>
                    <td><span>医生诊断：</span><textarea name="treatment" required placeholder="输入诊断信息"></textarea></td>
                </tr>
                <tr>
                    <td><span>医&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;嘱：</span><textarea name="advice" required placeholder="输入医嘱"></textarea></td>
                    <td><span>用药处方：</span><textarea name="recipe" required placeholder="输入用药及处方"></textarea></td>
                </tr>
            </table>
        </div>
        <div class="add-btn">
            <input type="hidden" name="doctor_id" value="{:UID}">
            <input type="hidden" name="patient_id" value="{:I('get.id')}">
            <button class="save" id="save">保存</button>
        </div>
        </form>
    </div>
</block>
<block name="js">
    <script type="text/javascript" src="__STATIC__/common/js/add.js"></script>
    <script type="text/javascript" src="__STATIC__/common/js/func.js"></script>
    <script type="text/javascript" src="__STATIC__/common/js/laydate/laydate.js"></script>
    <script type="text/javascript">
        //验证相关
        var validate_rules = {
        };
        var validate_messages = {
        };
    </script>
</block>